package com.angel.arquitectura.dao.errorMessage;

import com.angel.arquitectura.model.errorMessage.ErrorMessage;
import com.angel.arquitectura.model.objectId.ObjectId;
import com.angel.dao.generic.interfaces.GenericDAO;

import java.util.Collection;
import java.util.Date;

public interface ErrorMessageDAO extends GenericDAO<ErrorMessage, ObjectId> {

	public Collection<ErrorMessage> findAllByOtherDetails(String otherDetails);

    public Collection<ErrorMessage> findAllBetweenCreationDate(Date beforeCreatioDate, Date afterCreationDate);

}